import Vue from 'vue'
import App from './App'
import store from './common/store'

import uView from "uview-ui";
import axios from './common/axios/axios.js'
// 引入uView对小程序分享的mixin封装
let mpShare = require('uview-ui/libs/mixin/mpShare.js');
// 判断是否登录
let hasLogin = require('@/common/hasLogin/hasLogin.js');

Vue.config.productionTip = false

Vue.use(uView);
Vue.mixin(hasLogin);
Vue.mixin(mpShare);

Vue.prototype.$store = store
Vue.prototype.$api = axios

App.mpType = 'app'
const app = new Vue({
	...App
})

app.$mount()